import com.yzl.meeting.framework.context.ApplicationContext;
import com.yzl.meeting.framework.context.ClasspathXmlApplicationContext;
import com.yzl.insert.TestService;
import org.junit.Test;

/**
 * @Title: test
 * @Author: 姚志立
 * @Description:
 * @Date: 2020/10/20 17:19
 * @Version: 1.0
 */
public class test {
    @Test
    public void testGetBean(){
        ApplicationContext context = new ClasspathXmlApplicationContext("testBean.xml");
        TestService testService = (TestService)context.getBean("testService");
        testService.test();
        System.out.println("12334");

        System.out.println("ss");
    }
}
